package org.jeecg.modules.achexampaperquestionsitem.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: ach_exam_paper_questions_item
 * @author: baochangrong
 * @Date:   2022-03-18
 * @Version: V1.0
 */
@Data
@TableName("ach_exam_paper_questions_item")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ach_exam_paper_questions_item对象", description="ach_exam_paper_questions_item")
public class AchExamPaperQuestionsItem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**试卷id*/
	@Excel(name = "试卷id", width = 15)
    @ApiModelProperty(value = "试卷id")
    private String examinationPaperId;
	/**所属分项id*/
	@Excel(name = "所属分项id", width = 15)
    @ApiModelProperty(value = "所属分项id")
    private String examPaperProjectItemId;
	/**试题类型（1单选 2多选  3简答 4填空 5判断 6阅读 7完型填空 8实验 9手工制作） */
	@Excel(name = "试题类型（1单选 2多选  3简答 4填空 5判断 6阅读 7完型填空 8实验 9手工制作） ", width = 15)
    @ApiModelProperty(value = "试题类型（1单选 2多选  3简答 4填空 5判断 6阅读 7完型填空 8实验 9手工制作） ")
    @Dict(dicCode = "exa_pap_que_item_ttype")
    private String exaPapQueItemTtype;
	/**题库试题id*/
	@Excel(name = "题库试题id", width = 15)
    @ApiModelProperty(value = "题库试题id")
    private String questionBankItemId;
	/**试题编号*/
	@Excel(name = "试题编号", width = 15)
    @ApiModelProperty(value = "试题编号")
    private String exaPapQueItemNo;
	/**试题满分*/
	@Excel(name = "试题满分", width = 15)
    @ApiModelProperty(value = "试题满分")
    private Double exaPapQueItemFullMarks;
	/**考试建议时长(分钟)*/
	@Excel(name = "考试建议时长(分钟)", width = 15)
    @ApiModelProperty(value = "考试建议时长(分钟)")
    private Double proposalDuration;
	/**是否启用(1是启用，0否停用)*/
	@Excel(name = "是否启用(1是启用，0否停用)", width = 15)
    @ApiModelProperty(value = "是否启用(1是启用，0否停用)")
    @Dict(dicCode = "iz_open")
    private Integer izOpen=1;
	/**所属部门编码*/
    @ApiModelProperty(value = "所属部门编码")
    private String sysOrgCode;
	/**学校id*/
	@Excel(name = "学校id", width = 15)
    @ApiModelProperty(value = "学校id")
    private String tenantId;
	/**0表示未删除,1表示删除*/
	@Excel(name = "0表示未删除,1表示删除", width = 15)
    @ApiModelProperty(value = "0表示未删除,1表示删除")
    @Dict(dicCode = "del_flag")
    private Integer delFlag=0;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**试题顺序*/
	@Excel(name = "试题顺序", width = 15)
    @ApiModelProperty(value = "试题顺序")
    private String exaPapQueItemOrder;
}
